//课堂详情数据
import request from "./httpdes";
// 课堂详情
// https://www.fastmock.site/mock/b4762d4ad56006e1512f3d6e92fd83a6/xin-video/class

export function getClassDes(groupid:any){
    return request({
        url:'/im/v1.3/group/'+groupid+"/info?isRichInfo=true&_timestamp=1686121670762",
        method:"get",
    })
}
//获取章节视频
export function getClassVideo(videoid:any){
    return request({
        url:'/content/v1.1/video/detail?videoId='+videoid+"&seriesId=&_timestamp=1686133319148",
        method:"get",
    })
}
//获取所有章节id
export function getAllseries(groupid:any){
    return request({
        url:'/content/v1.2/series/group/'+groupid+"/series?limit=10&start=0&_timestamp=1686134227369",
        method:"get",
    })
}
//获得课程列表
export function getClassList(seriesid:number,limit:any){
    return request({
        url:'/content/v1.2/series/all_lesson_list?seriesId='+seriesid
            +"&limit="+limit+"&showStudyTime=false&_timestamp=1686134228081",
        method:"get",
    })
}


